import Router from 'koa-router'
import { addUsers, getUsers, getContents } from '../controllers/users'

const router:Router = new Router

router.prefix('/api')

router.get('/', addUsers)

router.get('/users', getUsers)

router.get('/contents', getContents)

export default router